package com.lyf.spring.demo.model;

import lombok.Data;

import java.util.Date;

@Data//帮助生成方法
//@Data = @Getter + @Setter + @ToString + @EqualsAndHashCode + @RequiredArgsConstructor
//+ @NoArgsConstructor
public class MessageInfo {
    //@Getter  @Setter加在成员变量上面就是成员变量单独加
    private Integer id;
    private String from;
    private String to;
    private String message;
    private Integer deleteFlag;
    private Date createTime;
    private Date updateTime;

}
